package com.bgl.mall.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author buguoliang
 * @date 2022/3/27 19:23
 * @since jdk1.8
 */
@Data
@ApiModel("用户对象")
public class UserVo {

    private Integer id;

    @ApiModelProperty("登录用户名")
    @NotBlank(message = "登录用户名不能为空")
    private String username;

    private String password;

    private String email;

    private String phone;

    private String question;

    private String answer;
}
